package scsc.web.xzgl.equmng.equipment.forms;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

import scsc.web.system.AppActionForm;
import scsc.web.system.data.DocManageData;
import scsc.web.xzgl.equmng.equipment.data.EquipmentData;
import scsc.web.xzgl.hidtrouble.data.HiddenTroubleData;

public class EquipmentForm extends AppActionForm{
	private EquipmentData data = null;
	private EquipmentData conditionData=null;
	private DocManageData docData;
	private FormFile userFile;
	
	public EquipmentForm(){
		data = new EquipmentData();
		conditionData = new EquipmentData();
		docData=new DocManageData();
	}
	public void reset(ActionMapping mapping,HttpServletRequest request){
		super.reset(mapping,request);
		data.reset();
		conditionData.reset();
		docData.reset();
	}
	public ActionErrors validata(ActionMapping mapping,HttpServletRequest request){
		ActionErrors errors = new ActionErrors();
		return errors;
	}
	public EquipmentData getData(){
		return this.data;
	}
	public void setData(EquipmentData data){
		this.data=data;
	}
	
	public EquipmentData getConditionData(){
		return this.conditionData;
	}
	public void setConditionData(EquipmentData conditionData){
		this.conditionData=conditionData;
	}
	public DocManageData getDocData() {
		return docData;
	}
	public void setDocData(DocManageData docData) {
		this.docData = docData;
	}
	public FormFile getUserFile() {
		return userFile;
	}
	public void setUserFile(FormFile userFile) {
		this.userFile = userFile;
	}
}
